home *** CD-ROM | disk | FTP | other *** search
- // $Id: tab.h,v 1.4 1999/02/12 14:39:13 shields Exp $
- //
- // This software is subject to the terms of the IBM Jikes Compiler
- // License Agreement available at the following URL:
- // http://www.ibm.com/research/jikes.
- // Copyright (C) 1996, 1998, International Business Machines Corporation
- // and others. All Rights Reserved.
- // You must accept the terms of that agreement to use this software.
- //
- #ifndef tab_INCLUDED
- #define tab_INCLUDED
-
- #include "config.h"
- #ifndef __amigaos__
- #include <wchar.h>
- #endif
- #include <string.h>
-
- class Tab
- {
- public:
- enum { DEFAULT_TAB_SIZE = 8 };
-
- inline static int TabSize() { return tab_size; }
- inline static void SetTabSize(int value) { tab_size = value; }
-
- static int Wcslen(wchar_t *line, int start, int end);
-
- private:
- static int tab_size;
- };
- #endif
-
-